
package ro.qi.framework.sys.users.logs.entities;

import java.util.Date;

import ro.qi.framework.sys.entities.Entity;

public class UsersAccountAccessLog extends Entity {

	public UsersAccountAccessLog() {
		super();
	}

	public UsersAccountAccessLog(int userId) {
		super();
		setUserId(userId);
		select();
	}

	public void setUserId(int value) {setValue("userId",value);}
	public int getUserId() {return getIntValue("userId");}
	public void setSessionId(int value) {setValue("sessionId",value);}
	public int getSessionId() {return getIntValue("sessionId");}

	public void setLoginIpAddress(String value) {setValue("loginIpAddress",value);}
	public String getLoginIpAddress() {return getStringValue("loginIpAddress");}
	public void setLoginDate(Date value) {setValue("loginDate",value);}
	public Date getLoginDate() {return getDateValue("loginDate");}
	public void setLogoutDate(Date value) {setValue("logoutDate",value);}
	public Date getLogoutDate() {return getDateValue("logoutDate");}

}
